<?php

namespace app\middleware;

use core\Request;
use core\Response;
class All
{
    public function handle(Request $request, Response $response, \Closure $next): void {
        echo 'All(全局) 中间件 call before<br>';
        $next();
        echo 'All(全局) 中间件 call after<br>';
    }
}
